package com.wyh.service.gfive;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wyh.common.result.InvoicerecordsShowResult;
import com.wyh.common.result.Result;
import com.wyh.domain.po.gfive.Invoicedetails;
import com.wyh.domain.po.gfive.Invoicerecords;
import com.wyh.domain.po.gfive.PageHelper;
import com.wyh.domain.vo.gfive.TelAndEmailVO;

import java.util.List;

/**
* @author KmJHHhhhR
* @description 针对表【invoicerecords(开票记录表)】的数据库操作Service
* @createDate 2024-05-28 10:10:35
*/
public interface InvoicerecordsService extends IService<Invoicerecords> {
    List<InvoicerecordsShowResult> findAll(PageHelper pageHelper);

    List<InvoicerecordsShowResult> findInvoicerecords(InvoicerecordsShowResult invoicerecordsShowResult,PageHelper pageHelper);

    TelAndEmailVO findTelAndEmail(Integer id);

    Integer findCustomerId(Integer id);

    //进行金额的回滚操作
    Result moneyBack(Integer Invoicecode);

    Invoicerecords findOne(Integer id);

    List<Invoicedetails> seeInvoicedetails(String receiptnumber);


    Result sendEmail(String telAndEmailVO1, String receiptnumber);
}

